using System;
using System.Runtime.InteropServices;

namespace WindowsAPI.DWM
{
    [StructLayout(LayoutKind.Sequential)]
    public class BlurBehind
    {
        public BlurBehindFlags Flags;
        [MarshalAs(UnmanagedType.Bool)]
        public bool Enable;
        public IntPtr RegionBlur;
        [MarshalAs(UnmanagedType.Bool)]
        public bool TransitionOnMaximized;

        //public const uint DWM_BB_ENABLE = 0x00000001;
        //public const uint DWM_BB_BLURREGION = 0x00000002;
        //public const uint DWM_BB_TRANSITIONONMAXIMIZED = 0x00000004;
    }
}